package com.woniuxy.carrental.service;

import com.woniuxy.carrental.entity.Parking;
import com.woniuxy.carrental.entity.RentCarInfo;

import java.util.List;

/**
 * @author author
 * @create 2021-10-10 22:42
 */
public interface ParkingService {

    public void addParking(Parking parking);

    public List<Parking> getParking();


    public void updateParking(Parking parking);

    public List<Parking> selectAllParking(
            Parking parking,
            Integer pageIndex,  Integer pageSize);

    public int selectParkingCountBylimit( Parking parking);

    public void delectParkingByid(int parkid);

    public List<RentCarInfo> getRentCarInfobyparkid(int parkid);

    public void updateStareParking(int parkid);


    public List<RentCarInfo> selectRentCarInfoByPid(String lonlat);



}
